package com.example.mybatisplus.domain;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;


import java.io.Serializable;

/**
 * @program: springboot-cli-util
 * @author: Wu ZiLin
 * @create: 2023-10-19 11:49
 * @description:
 **/
@TableName("t_user")
@Data
public class User implements Serializable {

    /**
    * 主键ID
    */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;
    /**
    * 姓名
    */
    @TableField("name")
    private String name;
    /**
    * 年龄
    */
    @TableField("age")
    private Integer age;
    /**
    * 邮箱
    */
    @TableField("email")
    private String email;
    /**
    * 逻辑删除
    */
    @TableLogic
    private Integer isDeleted;
}
